package main

import (
	"flag"
	"helper"
	"jk/jklog"
	"time"
	. "winform"
)

var (
	ownConfigPath = flag.String("jkconfig", "./jkconfig/jkconfig", "own config")
)

func main() {

	flag.Parse()
	jklog.L().Noneln("Read Own Config: " + *ownConfigPath)
	helper.OpenConfig(*ownConfigPath)
	jklog.L().SetLevel(helper.LogLevel())

	MainWindowInit()

	for {
		time.Sleep(1)
	}

	return
}
